
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>测试对象属性信息监听器</title>
</head>
<body>
<h3>这是一个测试对象属性信息监听器的页面</h3>
<%

    request.getServletContext().setAttribute("username",'A');
    request.getServletContext().setAttribute("username",'B');
    request.getServletContext().removeAttribute("username");
    session.setAttribute("username","S_A");
    session.setAttribute("username","S_B");
    session.removeAttribute("username");
    request.setAttribute("username","R_A");
    request.setAttribute("username","R_B");
    request.removeAttribute("username");
%>

</body>
</html>
